package com.graduate.controller;

import com.graduate.result.Result;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Api(tags = "测试接口")
@Slf4j
@RestController
@RequestMapping("/test")
public class TestController {

    @GetMapping
    @ApiOperation("测试接口")
    public Result<String> test(){
        return Result.success("success");
    }
}
